package com.sebscape.sebcms.slideshow.domain;

public class GenericSlideBean {
	
	private Long id;
	private String imageHref;
	private String filename;
	private String title;
	private String caption;
	private GenericLinkBean link;
	
	public GenericSlideBean(String imageHref) {
		super();
		this.imageHref = imageHref;
	}

	public GenericSlideBean(String imageHref, String title, String caption,
			GenericLinkBean link) {
		super();
		this.imageHref = imageHref;
		this.title = title;
		this.caption = caption;
		this.link = link;
	}

	public GenericSlideBean(String imageHref, String title, String caption,
			String linkHref, String linkText ) {
		super();
		this.imageHref = imageHref;
		this.title = title;
		this.caption = caption;
		this.link = new GenericLinkBean( linkText, linkHref );
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}
	
	/////////////////////////////////////
	//  Getters and Setters
	////////////////////////////////////
	
	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the imageHref
	 */
	public String getImageHref() {
		return imageHref;
	}

	/**
	 * @param imageHref the imageHref to set
	 */
	public void setImageHref(String imageHref) {
		this.imageHref = imageHref;
	}

	/**
	 * @return the filename
	 */
	public String getFilename() {
		return filename;
	}

	/**
	 * @param filename the filename to set
	 */
	public void setFilename(String filename) {
		this.filename = filename;
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the caption
	 */
	public String getCaption() {
		return caption;
	}

	/**
	 * @param caption the caption to set
	 */
	public void setCaption(String caption) {
		this.caption = caption;
	}

	/**
	 * @return the link
	 */
	public GenericLinkBean getLink() {
		return link;
	}

	/**
	 * @param link the link to set
	 */
	public void setLink(GenericLinkBean link) {
		this.link = link;
	}

}
